package com.cloud.order.api.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ORDER-SERVICE")
public interface OrderClient {

    @GetMapping("/order/create/{productId}")
    String create(@PathVariable("productId") int productId);

}
